package com.cr4y0n.crayonpicturebackend.model.dto.picture;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 图片更新请求
 *
 * @author cr4y0n
 * @version 1.0.0
 */
@Data
@ApiModel("图片更新请求")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PictureUpdateRequest implements Serializable {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("图片名称")
    private String name;

    @ApiModelProperty("简介")
    private String introduction;

    @ApiModelProperty("分类")
    private String category;

    @ApiModelProperty("标签")
    private List<String> tags;

    private static final long serialVersionUID = 1L;
}